package com.kexin.student.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kexin.student.mapper.StuBjMapper;
import com.kexin.student.domain.StuBj;
import com.kexin.student.service.IStuBjService;

/**
 * 专转本班级Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-21
 */
@Service
public class StuBjServiceImpl implements IStuBjService 
{
    @Autowired
    private StuBjMapper stuBjMapper;

    /**
     * 查询专转本班级
     * 
     * @param id 专转本班级主键
     * @return 专转本班级
     */
    @Override
    public StuBj selectStuBjById(Long id)
    {
        return stuBjMapper.selectStuBjById(id);
    }

    /**
     * 查询专转本班级列表
     * 
     * @param stuBj 专转本班级
     * @return 专转本班级
     */
    @Override
    public List<StuBj> selectStuBjList(StuBj stuBj)
    {
        return stuBjMapper.selectStuBjList(stuBj);
    }

    /**
     * 新增专转本班级
     * 
     * @param stuBj 专转本班级
     * @return 结果
     */
    @Override
    public int insertStuBj(StuBj stuBj)
    {
        return stuBjMapper.insertStuBj(stuBj);
    }

    /**
     * 修改专转本班级
     * 
     * @param stuBj 专转本班级
     * @return 结果
     */
    @Override
    public int updateStuBj(StuBj stuBj)
    {
        return stuBjMapper.updateStuBj(stuBj);
    }

    /**
     * 批量删除专转本班级
     * 
     * @param ids 需要删除的专转本班级主键
     * @return 结果
     */
    @Override
    public int deleteStuBjByIds(Long[] ids)
    {
        return stuBjMapper.deleteStuBjByIds(ids);
    }

    /**
     * 删除专转本班级信息
     * 
     * @param id 专转本班级主键
     * @return 结果
     */
    @Override
    public int deleteStuBjById(Long id)
    {
        return stuBjMapper.deleteStuBjById(id);
    }
}
